package com.woniuxy.dao;
/*
 * @author 幸琦林
 *
 */

import com.woniuxy.entity.Course;
import com.woniuxy.entity.ShowCourse;

import java.util.List;

public interface CourseInfo {

    List<ShowCourse> getShowCourse(Long gymId);

    Course getCourseByEditorIdAndCourseName(long id, String name);

    void addCourse(Course newCourse);

    int choseCourse(Long courseId, Long userId);
}
